package com.training.action.chenhao;

import com.opensymphony.xwork2.ActionSupport;
import com.training.pojo.chengshu.UUser;
import com.training.service.chenhao.EmpService;


public class EmpDetailAction extends ActionSupport{
    private UUser  emp;
	private String uid;
	private EmpService empser;
	public String execute(){
		System.out.println("uid="+uid+"empdetail..........lailai");
		 emp=empser.empdetail(uid);
		 
    	 return SUCCESS;
     }
	
	public UUser getEmp() {
		return emp;
	}

	public void setEmp(UUser emp) {
		this.emp = emp;
	}

	public String getUid() {
		return uid;
	}
	public void setUid(String uid) {
		this.uid = uid;
	}
	public EmpService getEmpser() {
		return empser;
	}
	public void setEmpser(EmpService empser) {
		this.empser = empser;
	}
	
}
